package com.zkadmin.util;

import org.zkoss.util.resource.Labels;

public abstract class AdminConstants {
	public static final String DEFAULT_ICON = "z-icon-file-text-o";
	public static final String PAGE_PATH = "/WEB-INF/zul/";

	public static final int MAX_TAB_NUM = 10;
	public static final int PAGE_SIZE = 20;
	public static final String EVENT_ONREFRESH = "onRefresh";
	public static final String MENU_RESOURCE = "menu:";
	public static final String ROLE_ADMIN = "role_admin";

	public static final String getHomeLabel() {
		return Labels.getLabel("home.pageName");
	}

	public static final String getEmptyMessage() {
		return Labels.getLabel("data.emptyMessage");
	}
	
	public static final String getErrorDataVersionMessage() {
		System.out.println(Labels.getLabel("error.data.version.message")+"=============");
		return Labels.getLabel("error.data.version.message");
	}

}
